import axios from "axios";

export interface Title{
    name: string,
    list: List[],
}
export interface List{
    name: string,
    imgUrl: string,
    category_id: string,
    content: string,
    glycemicIndex:string,
    level:number,
    quality:number,
    isChecked:boolean,
}



export const getList = () => {
    return axios.get('http://zyxcl.xyz/exam_api/food')
}



